package org.example.producer;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class demo01 {


    @Autowired
    ProducerDemo producerDemo;


    @RequestMapping("ack/demo/{message}")
    public void demo01(@PathVariable String message){
        producerDemo.sendMessageInvoice(message);


    }


}
